﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SqlCommandHelper
{
    /// <summary>
    /// A sql Server db table attribute
    /// </summary>
    public class DbTable : Attribute
    {
        #region Properties

        /// <summary>
        /// Gets the name.
        /// </summary>
        /// <value>
        /// The name.
        /// </value>
        public string Name { get; private set; }

        /// <summary>
        /// Get the schema
        /// </summary>
        public string Schema { get; set; }

        #endregion


        #region Constructur(s)

        /// <summary>
        /// Initializes a new instance of the <see cref="DbTable"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        public DbTable(string name)
        {
            this.Name = name;
        }

        #endregion

    }
}
